import request from '@/utils/request';

// 操作系统访问量百分比和处理时长
export function getOperateSystemData(data: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/client/analysis/getOperatingSystemData',
		method: 'post',
		data: data,
		headers: {
			VERSION: 'lishilei',
		},
	});
}

// 浏览器访问量百分比和处理时长
export function getBrowserData(data: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/client/analysis/getBrowserData',
		method: 'post',
		data: data,
		headers: {
			VERSION: 'lishilei',
		},
	});
}
